home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-05-27 | 1.7 KB | 51 lines |
- # Standard Windows make file. The utility MAKE.EXE compares the
- # creation date of the file to the left of the colon with the file(s)
- # to the right of the colon. If the file(s) on the right are newer
- # then the file on the left, Make will execute all of the command lines
- # following this line that are indented by at least one tab or space.
- # Any valid MS-DOS command line may be used.
-
- # This line allows NMAKE to work as well
-
- all: cbzone.exe
-
- # Update the resource if necessary
-
- generic.res: generic.rc generic.h
- rc -r generic.rc
-
- # Update the object file if necessary
-
- generic.obj: generic.c generic.h
- cl -c -AS -Gsw -Oas -Zpe generic.c
-
- c_move.obj: c_move.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_move.c
-
- c_parseo.obj: c_parseo.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_parseo.c
-
- c_main.obj: c_main.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_main.c
-
- c_graphi.obj: c_graphi.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_graphi.c
-
- c_explod.obj: c_explod.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_explod.c
-
- c_draw.obj: c_draw.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_draw.c
-
- unix2nt.obj: unix2nt.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 unix2nt.c
-
- c_gpr.obj: c_gpr.c
- cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_gpr.c
-
- # Update the executable file if necessary, and if so, add the resource back in.
-
- cbzone.exe: generic.obj generic.def c_move.obj c_parseo.obj c_main.obj c_explod.obj c_draw.obj c_graphi.obj c_gpr.obj unix2nt.obj generic.res
- link /NOD generic c_move c_parseo c_main c_explod c_draw c_graphi c_gpr unix2nt,cbzone.exe,, libw slibcew toolhelp, generic.def
- rc /30 -K generic.res cbzone.exe
-